home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
New Masters of Flash
/
New Masters of Flash.iso
/
pc
/
MOVIES
/
17.dir
/
00108_Text_108.txt
< prev
next >
Wrap
Text File
|
2000-09-30
|
546b
|
7 lines
We need to create a variable that represents the difference between the wordΓÇÖs actual position and the variables holding itΓÇÖs target position. The difference (disH,disV) is calculated by the code below.
This code is repeated for each of the four words:
disH = (getProperty(ΓÇ£/words/word01ΓÇ¥,__x)ΓÇöword01_x)/3;
setProperty (ΓÇ£/words/word01ΓÇ¥, _x, getProperty(ΓÇ£/words/word01ΓÇ¥, _x)-disH);
disV = (getProperty(ΓÇ£/words/word01ΓÇ¥, _y)-word_y)/3;
setProperty (ΓÇ£/words/word01ΓÇ¥, _y, getProperty(ΓÇ£/words/word01ΓÇ¥, _y)-disV);